import reqCode from '@/config/reqCode'
import commonRequest from '@/request/commonRequest'
import { config } from '@/config/systemConfig.js'

function getjsconfig(query) {
  const code = reqCode.PAYCENTER_PAYGATEWAY_GETJSCONFIG
  const obj = { 'query': query }
  const requestBody = commonRequest.generateRequest(code, config.SERVICE_REQUEST_VERSION, obj)
  return requestBody
}

export default {
  getjsconfig
}
